package com.pingan.haofang.searchcloud.quartz.dto;

/**
 * @author ex-sunbixiao001
 * @date 2018/6/21
 * @since 1.0.0
 */

import com.pingan.haofang.searchcloud.common.constants.Status;

/**
 * 有效任务查询dto
 */
public class TaskQueryDto {

    private Long indexId;

    private Integer indexStatus = Status.NORMAL.getValue();

    public Integer getIndexStatus() {
        return indexStatus;
    }

    public void setIndexStatus(Integer indexStatus) {
        this.indexStatus = indexStatus;
    }

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    @Override
    public String toString() {
        return "TaskQueryDto{" +
                "indexId=" + indexId +
                ", indexStatus=" + indexStatus +
                '}';
    }
}
